package com.xxxy.fallback;

import org.springframework.stereotype.Component;

@Component
public class SentinelFallback {

    public static String sentinelFallback(Throwable e) {
        System.out.println("触发熔断，服务不可使用");
        return "触发熔断，服务不可使用";
    }
}
